{extend name="template/base" /}
{block name="content"}

<?php

?>

<link rel="stylesheet" href="/static/admin/layui-xia/css/layui.css" media="all"/>
<!--<script src="/static/admin/layui/lay/modules/form.js"></script>-->
<link rel="stylesheet" href="/static/admin/formSelects/dist/formSelects-v4.css">
<div class="page-container">
    <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
    <div class="layui-form">
        <select name="city" xm-select="search05" xm-select-search-type="dl" xm-select-search="{$url}">
            <option value="">请选择要发送的司机</option>

        </select>
    </div>
</div>
{/block}
{block name="script"}
<script type="text/javascript" src="/static/admin/layui-xia/layui.js"></script>
<script type="text/javascript" src="/static/admin/formSelects/src/formSelects-v4.js"></script>
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>
<script>
    var formSelects = layui.formSelects;
    formSelects.config('search05', {
        searchUrl: "<?php echo $url; ?>",
        beforeSearch: function(id, url, val){
            if(!val){
                console.log('内容为空, 不进行远程搜索')
                return false;
            }
            return true;
        }
    });
</script>
{/block}
